import React, { useRef,useEffect } from 'react'
import { NavBar } from 'antd-mobile'
const View = (props:any) => {
    return <>
        {
            props.type ? <NavBar>{props.title}</NavBar> : <div className="father_title">{props.title}</div>
        }
         {/* <NavBar>{props.title}</NavBar> */}
        
    </>
}
export default View;